Fast Testing of Critical Properties through Passive Testing
نویسندگان
چکیده
We present a novel methodology to perform passive testing. The usual approach consists in recording the trace produced by the implementation under test and trying to find a fault by comparing this trace with the specification. We propose a more active approach to passive testing where the minimum set of (critical) properties required to a correct implementation may be explicitly indicated. In short, an invariant expresses that each time that the implementation under test performs a given sequence of input/output actions, then it must show a behavior reflected in the invariant. By using an adaptation of the classical pattern matching algorithms on strings, we obtain that the complexity of checking whether an invariant is fulfilled by the observed trace is in O(n · m), where n and m are the lengths of the trace and the invariant, respectively. If the length of the invariant is much smaller than the length of the trace then this complexity is almost linear with respect to the length of the trace. Actually, this is usually the case for most practical examples. In addition to our methodology, we present the case study that was the driving force for the development of our theory: The Wireless Application Protocol (WAP). We present a test architecture for WAP as well as the experimental results obtained from the application of our passive testing with invariants approach.
منابع مشابه
PKMζ contributes in consolidation, retrieval and maintenance of amygdala dependent fear memory in rats
Introduction: Protein kinase M zeta (PKMζ) is assumed to be actively involved in retainig long-term potentiation. The goal of this study was to investigate the role of PKMζ in basolateral amygdala (BLA) upon acquisition, consolidation, retention and retrieval of memory using a specific inhibitor of PKMζ. Methods: Sixty male wistar rats underwent stereotaxic surgery and were cannu...
متن کاملNecessity of Routine Repeat Testing of Critical Values in Various Working Shifts
Background & Objective: Accurate and timely reporting of critical values is an important issue. There is some doubt whether repeat testing of critical values would offer any advantage over single testing or not. The aim of this study was evaluation of utility of routine repeat testing of critical values in our referral center and to compare probable variations in different work...
متن کاملMeasurement and Modelling of the Rubber Resilience based on Ultrasonic Non-destructive Testing in Tires
In tire industry, it is very crucial to evaluate physical and mechanical properties of the rubber which is used for production of the tire, to ensure the quality of the final product. Resilience is an important property of a rubber, which cannot be evaluated through direct measurement in production cycle in this industry. Therefore, non-destructive ultrasonic testing, which has been used in man...
متن کاملDoes routine repeat testing of critical laboratory values improve their accuracy?
Background: Routine repeat testing of critical laboratory values is very common these days to increase their accuracy and to avoid reporting false or infeasible results. We figure that repeat testing of critical laboratory values has any benefits or not. Methods : We examined 2233 repeated critical laboratory values in 13 different hematology and chemistry tests including: hemoglobin, white...
متن کاملSecurity testing of session initiation protocol implementations
The mechanisms which enable the vast majority of computer attacks are based on design and programming errors in networked applications. The growing use of voice over IP (VOIP) phone technology makes these phone applications potential targets. We present a tool to perform security testing of VOIP applications to identify security vulnerabilities which can be exploited by an attacker. Session Ini...
متن کامل